package com.wuming.common.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

/**
 *  用户实体类
 *  <p>使用了Lombok进行简化</p>
 *
 *  @author 童天宇
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private int id;
    private String phone;
    private String username;
    private String passwordHash;
    /**
     * <p>java.sql Date 年月日</p>
     * <p>java.util Date 年月日时分秒</p>
     */
    private Date birthday;
    private int gender;
    private int role;
}
